package com.company.project.service.impl;

import com.company.project.dao.CarPoolMapper;
import com.company.project.model.CarPool;
import com.company.project.model.CarPoolVo;
import com.company.project.service.CarPoolService;
import com.company.project.core.AbstractService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;


/**
 * Created by CodeGenerator on 2023/11/21.
 */
@Service
@Transactional
public class CarPoolServiceImpl extends AbstractService<CarPool> implements CarPoolService {
    @Resource
    private CarPoolMapper carPoolMapper;

    @Override
    public List<CarPoolVo> findMobileList(CarPool carPool) {

        return carPoolMapper.findMobileList(carPool);
    }
}
